package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.ImageIcon;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JButton;

public class ViewReq_output_GUI extends JPanel{
	private JTextField request_num_textField;
	private JTextField current_stage_textField;
	private JTextField expexted_date_textField;
	private JButton btnBack;
	private JTextField status_textField;
	public ViewReq_output_GUI() {
		setLayout(null);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("                  View request output");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setIcon(new ImageIcon(ViewReq_output_GUI.class.getResource("/Picture/Dj-View-icon.png")));
		lblNewJgoodiesTitle.setBounds(0, 34, 412, 141);
		add(lblNewJgoodiesTitle);
		
		JLabel lblRequestNumber = DefaultComponentFactory.getInstance().createLabel("request number");
		lblRequestNumber.setFont(new Font("Arial", Font.BOLD, 12));
		lblRequestNumber.setBounds(10, 186, 115, 50);
		add(lblRequestNumber);
		
		request_num_textField = new JTextField();
		request_num_textField.setBounds(167, 196, 165, 26);
		add(request_num_textField);
		request_num_textField.setColumns(10);
		
		current_stage_textField = new JTextField();
		current_stage_textField.setColumns(10);
		current_stage_textField.setBounds(167, 261, 165, 26);
		add(current_stage_textField);
		
		expexted_date_textField = new JTextField();
		expexted_date_textField.setColumns(10);
		expexted_date_textField.setBounds(167, 334, 165, 26);
		add(expexted_date_textField);
		
		JLabel lblNewJgoodiesLabel = DefaultComponentFactory.getInstance().createLabel("current stage");
		lblNewJgoodiesLabel.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel.setBounds(10, 247, 138, 50);
		add(lblNewJgoodiesLabel);
		
		JLabel lblNewJgoodiesLabel_1 = DefaultComponentFactory.getInstance().createLabel("expected closure date");
		lblNewJgoodiesLabel_1.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel_1.setBounds(10, 321, 148, 50);
		add(lblNewJgoodiesLabel_1);
		
		btnBack = new JButton("Back");
		btnBack.setIcon(new ImageIcon(ViewReq_output_GUI.class.getResource("/Picture/go-back-icon.png")));
		btnBack.setBounds(10, 504, 141, 47);
		add(btnBack);
		
		JLabel lblStatus = DefaultComponentFactory.getInstance().createLabel("status");
		lblStatus.setFont(new Font("Arial", Font.BOLD, 12));
		lblStatus.setBounds(10, 412, 92, 14);
		add(lblStatus);
		
		status_textField = new JTextField();
		status_textField.setColumns(10);
		status_textField.setBounds(167, 400, 165, 26);
		add(status_textField);
	}
	public JTextField getRequest_num_textField() {
		return request_num_textField;
	}
	public void setRequest_num_textField(JTextField request_num_textField) {
		this.request_num_textField = request_num_textField;
	}
	public JTextField getCurrent_stage_textField() {
		return current_stage_textField;
	}
	public void setCurrent_stage_textField(JTextField current_stage_textField) {
		this.current_stage_textField = current_stage_textField;
	}
	public JTextField getExpexted_date_textField() {
		return expexted_date_textField;
	}
	public void setExpexted_date_textField(JTextField expexted_date_textField) {
		this.expexted_date_textField = expexted_date_textField;
	}
	public JButton getBtnBack() {
		return btnBack;
	}
	public void setBtnBack(JButton btnBack) {
		this.btnBack = btnBack;
	}
	public JTextField getStatus_textField() {
		return status_textField;
	}
	public void setStatus_textField(JTextField status_textField) {
		this.status_textField = status_textField;
	}
	
}
